package org.android.bbox.utils;

import android.app.Activity;
import android.widget.CheckBox;
import android.widget.TextView;

public class RId
{
	public static String getTextViewValue(Activity a, int R)
	{
		return ((TextView) a.findViewById(R)).getText().toString();
	}

	public static boolean getCheckBoxValue(Activity a, int R)
	{
		return ((CheckBox) a.findViewById(R)).isChecked();
	}
}
